#ifndef __COMMON_H__
#define __COMMON_H__

#undef MPLAYER_API
#define MPLAYER_EXPORTS
#ifdef MPLAYER_EXPORTS
#define MPLAYER_API __declspec(dllexport)
#else
#define MPLAYER_API __declspec(dllimport)
#endif


#define BOOL bool


/************************************************************************/
/* File information                                                                     */
/************************************************************************/
typedef struct st_FileInfo {
	char format[16];
	int v_bitrate;
	int	v_width;
	int v_height;
	float v_fps;
	float v_aspect;
	int a_rate; 
	int a_nch;
	char a_codec[32];
	float length; 
}st_FileInfo;

#endif //__COMMON_H__
